package com.osti.mytest;

import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

public class AppPreferences
{
	public AppPreferences()
	{
		
	}
	
	public String loadPreferences_PointsVictory(Context context)
	{
		String				retVal		= "";
		SharedPreferences	help_Prefs;
		
		help_Prefs = PreferenceManager.getDefaultSharedPreferences(context);
		retVal = help_Prefs.getString("victory_key", null);
		
		return retVal;
	}
	
	public String loadPreferences_PointsDraw(Context context)
	{
		String				retVal		= "";
		SharedPreferences	help_Prefs;
		
		help_Prefs = PreferenceManager.getDefaultSharedPreferences(context);
		retVal = help_Prefs.getString("draw_key", null);
		
		return retVal;
	}
}
